package com.weiyuwqj.api.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "sys_app_push")
public class SysAppPush implements Serializable {
    @Id
    private Integer id;

    /**
     * 推送的标题
     */
    @Column(name = "push_title")
    private String pushTitle;

    /**
     * 推送的内容
     */
    @Column(name = "push_text")
    private String pushText;

    /**
     * 创建时间	
     */
    private Date addtime;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取推送的标题
     *
     * @return push_title - 推送的标题
     */
    public String getPushTitle() {
        return pushTitle;
    }

    /**
     * 设置推送的标题
     *
     * @param pushTitle 推送的标题
     */
    public void setPushTitle(String pushTitle) {
        this.pushTitle = pushTitle;
    }

    /**
     * 获取推送的内容
     *
     * @return push_text - 推送的内容
     */
    public String getPushText() {
        return pushText;
    }

    /**
     * 设置推送的内容
     *
     * @param pushText 推送的内容
     */
    public void setPushText(String pushText) {
        this.pushText = pushText;
    }

    /**
     * 获取创建时间	
     *
     * @return addtime - 创建时间	
     */
    public Date getAddtime() {
        return addtime;
    }

    /**
     * 设置创建时间	
     *
     * @param addtime 创建时间	
     */
    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }
}